package com.cango.framework.base.entity;

/**
 *  登录用户信息<br> 
 * 〈功能详细描述〉
 *
 * @author weih
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class SessionUserVo {
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 登录名称
     */
    private String loginId;
    /**
     * 机构代码
     */
    private String  orgCode;
    /**
     * 机构对应的tm_company表ID
     */
    private Integer companyId;
    /**
     * 部门代码
     */
    private String deptCode;
    /**
     * 岗位代码
     */
    private String positionCode;
    /**
     * 密码
     */
    private String password;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * 工号
     */
    private String agentNo;
    /**
     * 分机号
     */
    private String extensionNo;
    
    /**
     * 登录ivr系统的工号
     */
    private String ivrAgentNo;
    /**
     * 呼叫类型：0，IB&OB;  1,IB;  2,OB
     */
    private Integer callType;

    /**
     * 用户类型
     */
    private String userType;
    
    /**
     * 通过微信 oauth 2.0认证,微信返回来的code 
     */
    private String code;
    
    /**
     * 通过微信 oauth 2.0认证,微信返回来的openId 
     */
    private String openId;
    
    /**
     * 是否为大区企业：0否/1是
     */
    private Integer isArea;

    /**
     * 移动端手机号码
     */
    private String mobile;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getPositionCode() {
        return positionCode;
    }

    public void setPositionCode(String positionCode) {
        this.positionCode = positionCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAgentNo() {
        return agentNo;
    }

    public void setAgentNo(String agentNo) {
        this.agentNo = agentNo;
    }

    public String getExtensionNo() {
        return extensionNo;
    }

    public void setExtensionNo(String extensionNo) {
        this.extensionNo = extensionNo;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public Integer getCallType() {
        return callType;
    }

    public void setCallType(Integer callType) {
        this.callType = callType;
    }

    public String getIvrAgentNo() {
        return ivrAgentNo;
    }

    public void setIvrAgentNo(String ivrAgentNo) {
        this.ivrAgentNo = ivrAgentNo;
    }


	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}
    
    public Integer getIsArea() {
        return isArea;
    }

    public void setIsArea(Integer isArea) {
        this.isArea = isArea;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }
}
